bitkeeper revision 1.1724 (42b7d6f60v0z2ZEkw36W_1joFfySfw)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 21 Jun 2005 08:59:34 +0000 (08:59 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 21 Jun 2005 08:59:34 +0000 (08:59 +0000)
commit1e6b0c78d874e263635cf4148932022ae55b8c92
tree8914a214328e055cb40415715f73991de27293e8
parent26922e5f08c20a0cc95e51c6c7d7df78041638d3
bitkeeper revision 1.1724 (42b7d6f60v0z2ZEkw36W_1joFfySfw)

Make xs_read/read_reply allocate an extra byte and put a nul character
at the end of objects to allow easy use as a string.
From: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/xenstore/xs.c
tools/xenstore/xs.h
tools/xenstore/xs_test.c